//2009/08/09 15:45:29
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <algorithm>

using namespace std;

class BritishCoins
{
public:
    vector <int> coins(int pence)
    {
		vector<int> ret;
		ret.clear();
		int pound = pence / 12 / 20;
		pence %= 12*20;
		ret.push_back(pound);
		int shilling = pence / 12;
		pence %= 12;
		ret.push_back(shilling);
		ret.push_back(pence);
		return ret;
    }
};
